package com.example.util.redis;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@Component
@ConfigurationProperties(prefix = "spring.redis")
public class CtRedisProperties implements Serializable {

    private String host;

    private Integer port;

    private Integer index;

    private String password;

    private Integer timeout;

    private Integer minIdle;

    private Integer maxWait;

    private Integer maxIdle;

    private Integer maxActive;

    private Integer database;
}
